package yagwl.client.model.demo;

import java.util.List;

import yagwl.client.model.FilterDTO;
import yagwl.client.model.ItemDTO;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>LaureateService</code>.
 */
public interface LaureateRpcServiceAsync {
	void getLaureates(int startIndex, int fetchSize, int sortOrder,
	    AsyncCallback<List<ItemDTO>> callback);
	void getLaureates(int startIndex, int fetchSize, int sortOrder,
	    List<FilterDTO> selectedFilters, AsyncCallback<List<ItemDTO>> callback);
	void getFilters(AsyncCallback<List<FilterDTO>> callback);
	void causeDelay(AsyncCallback<String> callback);
}
